package com.htsk.city.services.wechat.vo;

import com.htsk.city.services.core.domain.WxUser;
import lombok.Data;

@Data
public class UserInfoVO {
    private String nickname;
    private String avatar;
    private String mobile;
    private String gender;
    private String email;
    private String birthday;
    public UserInfoVO(){}

    public UserInfoVO(WxUser wxUser) {
        this.nickname = wxUser.getNickname();
        this.avatar = wxUser.getAvatar();
        this.mobile = wxUser.getMobile();
        this.gender = wxUser.getGender();
        this.email = wxUser.getEmail();
        this.birthday = wxUser.getBirthday();
    }
}
